package org.dromara.basedata.domain.vo;

import org.dromara.basedata.domain.ManufacturingProcess;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 制造工艺维护视图对象 manufacturing_process
 *
 * @author Lion Li
 * @date 2025-06-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManufacturingProcess.class)
public class ManufacturingProcessVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 工艺ID
     */
    @ExcelProperty(value = "工艺ID")
    private Long id;

    /**
     * 制造工艺（工艺名称）
     */
    @ExcelProperty(value = "制造工艺", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "工=艺名称")
    private String processName;

    /**
     * 设计文件路径
     */
    @ExcelProperty(value = "设计文件路径")
    private String designFile;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
